<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div class="navigator">
<c:choose>
	<c:when test="${page > 1}">
		<a href="${scriptPath}?action=history.list&page=1">&lt;&lt;</a>
		<a href="${scriptPath}?action=history.list&page=${page-1}">&lt;</a>
	</c:when>
	<c:otherwise>
		&lt;&lt; 
		&lt; 
	</c:otherwise>
</c:choose>

Trang ${page}

<c:choose>
	<c:when test="${page < pageCount}">
		<a href="${scriptPath}?action=history.list&page=${pageCount}">&gt;&gt;</a>
		<a href="${scriptPath}?action=history.list&page=${pageCount+1}">&gt;</a>
	</c:when>
	<c:otherwise>
		&gt;
		&gt;&gt;
	</c:otherwise>
</c:choose>
</div>
